POV-Ray : Newsgroups : povray.general : Translating turbulence : Re: Translating turbulence Server Time
2 Nov 2024 05:20:57 EDT (-0400)
  Re: Translating turbulence  
From: ingo
Date: 18 May 2004 14:40:28
Message: <Xns94EDD24F1E61Cseed7@news.povray.org>
in news:40aa5343@news.povray.org Skip Talbot wrote:

> Is there a way
> to translate a turbulence warp so that it's sampling from a different
> part of the pattern?
> 

Translate the spherical pattern to somewhere random, apply turbulence, 
translate the whole thing to the position you want.

Changing the seed for turbulence would be nice option.


  texture {
    pigment {
      spherical
      translate <3,3,3>
      warp {
        turbulence 0.3
      }
      translate <-3,-3,-3>
      color_map {
        [0.0 color rgb 0.0 ]
        [1.0 color rgb 1.0 ]
      }
    }


Ingo


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.